<template>
  <div>
    <!--<div>-->
      <!--<el-button type="primary" icon="el-icon-search" @click="onSearchClick()">搜索</el-button>-->
      <!--<el-input style="width: 30%"-->
                <!--placeholder="请输入游戏账单)"-->
                <!--v-model="inputDesc">-->
        <!--<i slot="prefix" class="el-input__icon el-icon-search"></i>-->
      <!--</el-input>-->
      <!--<el-divider><i class="el-icon-zoom-in"></i></el-divider>-->
    <!--</div>-->
    <el-table
      :data="tableData"
      border
      style="width: 100%"
      height="950">
      <el-table-column
        prop="orderno"
        label="游戏">
      </el-table-column>
      <el-table-column
        prop="sysorderId"
        label="平台">
      </el-table-column>
      <el-table-column
        prop="uid"
        label="UID">
      </el-table-column>
      <el-table-column
        prop="userName"
        label="昵称">
      </el-table-column>
      <el-table-column
        prop="createTime"
        label="创建">
      </el-table-column>
      <el-table-column
        prop="returnTime"
        label="返回">
      </el-table-column>
      <el-table-column
        prop="notifyTime"
        label="通知">
      </el-table-column>
      <el-table-column
        prop="status"
        label="状态">
      </el-table-column>
      <el-table-column
        prop="channel"
        label="渠道">
      </el-table-column>
      <el-table-column
        prop="goodsId"
        label="ID">
      </el-table-column>
      <el-table-column
        prop="goodsName"
        label="名称">
      </el-table-column>
      <el-table-column
        prop="price"
        label="售价">
      </el-table-column>
      <el-table-column
        prop="playerChannel"
        label="渠道">
      </el-table-column>
      <el-table-column
        prop="sign"
        label="签名">
      </el-table-column>
    </el-table>
    <!--分页-->
    <el-pagination
      style="margin-top: 20px"
      background
      layout="prev, pager, next"
      :total="1000">
    </el-pagination>
  </div>
</template>

<script>
  import axios from 'axios'
  export default {
    created(){
      axios.get("/topupdetail").then(resp => {
        if(resp.data.result){
          console.log(resp.data.msg)
          this.tableData = resp.data.msg
        }
      })
    },
    data() {
      return {
        tableData: [{
          orderno: '2016-05-03',
          uid: '2016-05-03',
          userName: '2016-05-03',
          createTime: '2016-05-03',
          returnTime: '2016-05-03',
          notifyTime: '2016-05-03',
          status: '2016-05-03',
          statusId: '2016-05-03',
          channel: '2016-05-03',
          goodsId: '2016-05-03',
          goodsName: '2016-05-03',
          price: '2016-05-03',
          sysorderId: '2016-05-03',
          playerChannel: '2016-05-03',
          sign: '2016-05-03',
        }],
      }
    }
  }
</script>

<style scoped>

</style>

